#pragma once
#define LEVEL_STUDENT	2
#define LEVEL_TEACHER	1
#define LEVEL_ADMIN		0
using namespace System;
namespace rjksClient{
public value struct UserInfo
{
	int level;
	String^ uname;
	int uid;
	int tea_id;
	array<int>^ stu_ids;
	bool has_unread;
};
public value struct Resp
{
	System::IO::Stream^ body;
	System::Net::WebHeaderCollection^ header;
	long length;
};
public value struct _FileInfo
{
	String^ filename;
	long size;
	DateTime time;
	String^ hash;
	int fid;
};
public value struct QuestionInfo
	{
		String^ title;
		String^ uname;
		int state;
		DateTime time;
		String^ desc;
		int qid;
		int stu_id;
	};
public value struct BannerInfo
	{
		String^ content;
		int type;
	};
}